.. _CS Structures: ========================== CS Structures ========================== .. toctree:: :maxdepth: 1 * :ref:`CSaveGameSlot` * :ref:`CSavedGameFamiliars` * :ref:`CSavedGameHeader` * :ref:`CSavedGameJournalEntry` * :ref:`CSavedGamePartyCreature` * :ref:`CSavedGameStoredLocation` * :ref:`CSchoolAndSecondaryDecrementing` * :ref:`CScreenAI` * :ref:`CScreenChapter` * :ref:`CScreenCharacter` * :ref:`CScreenCharacterStoredMageSpell` * :ref:`CScreenConnection` * :ref:`CScreenCreateChar` * :ref:`CScreenCreateParty` * :ref:`CScreenDLC` * :ref:`CScreenInventory` * :ref:`CScreenJournal` * :ref:`CScreenLoad` * :ref:`CScreenMap` * :ref:`CScreenMovies` * :ref:`CScreenMultiPlayer` * :ref:`CScreenOptions` * :ref:`CScreenPriestSpell` * :ref:`CScreenSave` * :ref:`CScreenStart` * :ref:`CScreenStore` * :ref:`CScreenStoreItem` * :ref:`CScreenWizSpell` * :ref:`CScreenWorld` * :ref:`CScreenWorldMap` * :ref:`CScriptCache` * :ref:`CSearchBitmap` * :ref:`CSearchRequest` * :ref:`CSelectiveBonus` * :ref:`CSelectiveBonusList` * :ref:`CSelectiveWeaponType` * :ref:`CSelectiveWeaponTypeList` * :ref:`CSequenceSound` * :ref:`CSequenceSoundList` * :ref:`CSize` * :ref:`CSnowFlake` * :ref:`CSnowStorm` * :ref:`CSound` * :ref:`CSoundChannel` * :ref:`CSoundExtensionBase` * :ref:`CSoundExtensionFile` * :ref:`CSoundImp` * :ref:`CSoundMixer` * :ref:`CSoundMixerImp` * :ref:`CSoundProperties` * :ref:`CSparkle` * :ref:`CSparkleCluster` * :ref:`CSpawn` * :ref:`CSpawnFile` * :ref:`CSpawnList` * :ref:`CSpawnPoint` * :ref:`CSpawnPointArray` * :ref:`CSpawnPointVar` * :ref:`CSpawnVar` * :ref:`CSpell` * :ref:`CSpellLevelDecrementing` * :ref:`CSteam` * :ref:`CSteamID` * :ref:`CSteamID::SteamID_t` * :ref:`CSteamID::SteamID_t::SteamIDComponent_t` * :ref:`CStore` * :ref:`CStoreFile` * :ref:`CStoreFileDrinks` * :ref:`CStoreFileHeader` * :ref:`CStoreFileItem` * :ref:`CStoreFileSpell` * :ref:`CString` * :ref:`CStringData` * :ref:`CStringList` * :ref:`CStringList::CNode` .. _CSaveGameSlot: CSaveGameSlot ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CString` | m_sFileName | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CString` | m_sSlotName | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 88 | :ref:`CResBitmap` | m_cResScreenShot | +------------+----------+----------------------------------------+-------------------------------+ | 0x60 | 88 | :ref:`CResBitmap` | m_cBmpResPortrait0 | +------------+----------+----------------------------------------+-------------------------------+ | 0xB8 | 88 | :ref:`CResBitmap` | m_cBmpResPortrait1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x110 | 88 | :ref:`CResBitmap` | m_cBmpResPortrait2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x168 | 88 | :ref:`CResBitmap` | m_cBmpResPortrait3 | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C0 | 88 | :ref:`CResBitmap` | m_cBmpResPortrait4 | +------------+----------+----------------------------------------+-------------------------------+ | 0x218 | 88 | :ref:`CResBitmap` | m_cBmpResPortrait5 | +------------+----------+----------------------------------------+-------------------------------+ | 0x270 | 8 | :ref:`CResRef` | m_cResPortrait | +------------+----------+----------------------------------------+-------------------------------+ | 0x278 | 4 | :ref:`CString` | m_sCharacterName | +------------+----------+----------------------------------------+-------------------------------+ | 0x27C | 4 | unsigned long | m_nTime | +------------+----------+----------------------------------------+-------------------------------+ | 0x280 | 4 | int | m_nChapter | +------------+----------+----------------------------------------+-------------------------------+ | 0x284 | 4 | :ref:`CString` | m_sChapter | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSavedGameFamiliars: CSavedGameFamiliars ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 72 | unsigned char | m_resrefDefault[9][8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 4 | unsigned long | m_resrefOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 324 | unsigned long | m_resrefCount[9][9] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSavedGameHeader: CSavedGameHeader ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+------------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+------------------------------------+ | 0x00 | 4 | unsigned long | m_worldTime | +------------+----------+----------------------------------------+------------------------------------+ | 0x04 | 2 | short | m_curFormation | +------------+----------+----------------------------------------+------------------------------------+ | 0x06 | 10 | short | m_quickFormations[5] | +------------+----------+----------------------------------------+------------------------------------+ | 0x10 | 4 | unsigned long | m_nPartyGold | +------------+----------+----------------------------------------+------------------------------------+ | 0x14 | 2 | unsigned short | m_nPCAreaViewed | +------------+----------+----------------------------------------+------------------------------------+ | 0x16 | 2 | unsigned short | m_wWeatherFlags | +------------+----------+----------------------------------------+------------------------------------+ | 0x18 | 4 | unsigned long | m_partyCreatureTableOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x1C | 4 | unsigned long | m_partyCreatureTableCount | +------------+----------+----------------------------------------+------------------------------------+ | 0x20 | 4 | unsigned long | m_partyInventoryTableOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x24 | 4 | unsigned long | m_partyInventoryTableCount | +------------+----------+----------------------------------------+------------------------------------+ | 0x28 | 4 | unsigned long | m_globalCreatureTableOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x2C | 4 | unsigned long | m_globalCreatureTableCount | +------------+----------+----------------------------------------+------------------------------------+ | 0x30 | 4 | unsigned long | m_globalVariablesOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x34 | 4 | unsigned long | m_globalVariablesCount | +------------+----------+----------------------------------------+------------------------------------+ | 0x38 | 8 | unsigned char | m_currentWorldArea[8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x40 | 4 | unsigned long | m_currentLink | +------------+----------+----------------------------------------+------------------------------------+ | 0x44 | 4 | unsigned long | m_journalEntriesCount | +------------+----------+----------------------------------------+------------------------------------+ | 0x48 | 4 | unsigned long | m_journalEntriesOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x4C | 4 | long | m_reputation | +------------+----------+----------------------------------------+------------------------------------+ | 0x50 | 8 | unsigned char | m_masterArea[8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x58 | 4 | unsigned long | m_dwFlags | +------------+----------+----------------------------------------+------------------------------------+ | 0x5C | 4 | unsigned long | m_versionNumber | +------------+----------+----------------------------------------+------------------------------------+ | 0x60 | 4 | unsigned long | m_familiarsOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x64 | 4 | unsigned long | m_storedLocationsOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x68 | 4 | unsigned long | m_storedLocationsCount | +------------+----------+----------------------------------------+------------------------------------+ | 0x6C | 4 | unsigned long | m_gameTime | +------------+----------+----------------------------------------+------------------------------------+ | 0x70 | 4 | unsigned long | m_storedLocationsOffsetPocketPlane | +------------+----------+----------------------------------------+------------------------------------+ | 0x74 | 4 | unsigned long | m_storedLocationsCountPocketPlane | +------------+----------+----------------------------------------+------------------------------------+ | 0x78 | 4 | unsigned long | m_zoomLevel | +------------+----------+----------------------------------------+------------------------------------+ | 0x7C | 8 | unsigned char | m_encounterArea[8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x84 | 8 | unsigned char | m_worldMap[8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x8C | 8 | unsigned char | m_campaign[8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x94 | 4 | unsigned long | m_nFamiliarSummoner | +------------+----------+----------------------------------------+------------------------------------+ | 0x98 | 20 | char | m_encounterEntry[20] | +------------+----------+----------------------------------------+------------------------------------+ ---- .. _CSavedGameJournalEntry: CSavedGameJournalEntry ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | m_strEntry | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | m_time | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 1 | unsigned char | m_chapter | +------------+----------+----------------------------------------+-------------------------------+ | 0x09 | 1 | unsigned char | m_read | +------------+----------+----------------------------------------+-------------------------------+ | 0x0A | 1 | unsigned char | m_type | +------------+----------+----------------------------------------+-------------------------------+ | 0x0B | 1 | unsigned char | m_character | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSavedGamePartyCreature: CSavedGamePartyCreature ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+------------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+------------------------------------+ | 0x00 | 2 | unsigned short | m_wFlags | +------------+----------+----------------------------------------+------------------------------------+ | 0x02 | 2 | unsigned short | m_portraitId | +------------+----------+----------------------------------------+------------------------------------+ | 0x04 | 4 | unsigned long | m_creatureOffset | +------------+----------+----------------------------------------+------------------------------------+ | 0x08 | 4 | unsigned long | m_creatureSize | +------------+----------+----------------------------------------+------------------------------------+ | 0x0C | 8 | unsigned char | m_creatureResRef[8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x14 | 4 | unsigned long | m_creatureFacing | +------------+----------+----------------------------------------+------------------------------------+ | 0x18 | 8 | unsigned char | m_areaName[8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x20 | 2 | unsigned short | m_posX | +------------+----------+----------------------------------------+------------------------------------+ | 0x22 | 2 | unsigned short | m_posY | +------------+----------+----------------------------------------+------------------------------------+ | 0x24 | 2 | unsigned short | m_posViewX | +------------+----------+----------------------------------------+------------------------------------+ | 0x26 | 2 | unsigned short | m_posViewY | +------------+----------+----------------------------------------+------------------------------------+ | 0x28 | 2 | unsigned short | m_nModalState | +------------+----------+----------------------------------------+------------------------------------+ | 0x2A | 2 | short | m_nHappiness | +------------+----------+----------------------------------------+------------------------------------+ | 0x2C | 96 | long | m_nNumberOfTimesInteractedWith[24] | +------------+----------+----------------------------------------+------------------------------------+ | 0x8C | 8 | short | m_quickWeaponsItemNum[4] | +------------+----------+----------------------------------------+------------------------------------+ | 0x94 | 8 | short | m_quickWeaponsAbilityNum[4] | +------------+----------+----------------------------------------+------------------------------------+ | 0x9C | 24 | unsigned char | m_quickSpellsSpellId[3][8] | +------------+----------+----------------------------------------+------------------------------------+ | 0xB4 | 6 | short | m_quickItemsItemNum[3] | +------------+----------+----------------------------------------+------------------------------------+ | 0xBA | 6 | short | m_quickItemsAbilityNum[3] | +------------+----------+----------------------------------------+------------------------------------+ | 0xC0 | 32 | char | m_name[32] | +------------+----------+----------------------------------------+------------------------------------+ | 0xE0 | 4 | unsigned long | m_numberTimesTalkedTo | +------------+----------+----------------------------------------+------------------------------------+ | 0xE4 | 4 | unsigned long | m_strStrongestKillName | +------------+----------+----------------------------------------+------------------------------------+ | 0xE8 | 4 | unsigned long | m_nStrongestKillXPValue | +------------+----------+----------------------------------------+------------------------------------+ | 0xEC | 4 | unsigned long | m_nPreviousTimeWithParty | +------------+----------+----------------------------------------+------------------------------------+ | 0xF0 | 4 | unsigned long | m_nJoinPartyTime | +------------+----------+----------------------------------------+------------------------------------+ | 0xF4 | 1 | unsigned char | m_bWithParty | +------------+----------+----------------------------------------+------------------------------------+ | 0xF5 | 2 | char | m_pad1[2] | +------------+----------+----------------------------------------+------------------------------------+ | 0xF7 | 1 | char | m_cFirstResSlot | +------------+----------+----------------------------------------+------------------------------------+ | 0xF8 | 4 | unsigned long | m_nChapterKillsXPValue | +------------+----------+----------------------------------------+------------------------------------+ | 0xFC | 4 | unsigned long | m_nChapterKillsNumber | +------------+----------+----------------------------------------+------------------------------------+ | 0x100 | 4 | unsigned long | m_nGameKillsXPValue | +------------+----------+----------------------------------------+------------------------------------+ | 0x104 | 4 | unsigned long | m_nGameKillsNumber | +------------+----------+----------------------------------------+------------------------------------+ | 0x108 | 32 | unsigned char | m_lSpellStatsName[4][8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x128 | 8 | short | m_lSpellStatsCount[4] | +------------+----------+----------------------------------------+------------------------------------+ | 0x130 | 32 | unsigned char | m_lWeaponStatsName[4][8] | +------------+----------+----------------------------------------+------------------------------------+ | 0x150 | 8 | short | m_lWeaponStatsCount[4] | +------------+----------+----------------------------------------+------------------------------------+ | 0x158 | 8 | unsigned char | m_secondarySounds[8] | +------------+----------+----------------------------------------+------------------------------------+ **Notes** Related to `GAM V2.0 file format `_ * Offset ``0x00`` to ``0xE0`` is related to `GAME V2.0 NPCs (both in-party and out-of-party NPCs) `_ * Offset ``0xE4`` to ``0x158`` is related to `GAME V2.0 Character stats `_ * **m_nNumberOfTimesInteractedWith[24]** (offset ``0x2C``) doesnt appear to be used ---- .. _CSavedGameStoredLocation: CSavedGameStoredLocation ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | unsigned char | m_areaName[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 2 | unsigned short | m_xPos | +------------+----------+----------------------------------------+-------------------------------+ | 0x0A | 2 | unsigned short | m_yPos | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSchoolAndSecondaryDecrementing: CSchoolAndSecondaryDecrementing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | m_nType | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | m_nLevels | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenAI: CScreenAI ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenAI Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 176 | :ref:`CVidBitmap` | m_bmpScreen | +------------+----------+----------------------------------------+-------------------------------+ | 0xDC | 32 | :ref:`C2DArray` | m_tSplashScreens | +------------+----------+----------------------------------------+-------------------------------+ | 0xFC | 2 | short | m_nSplashScreen | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x100 | 4 | int | m_nSplashTimer | +------------+----------+----------------------------------------+-------------------------------+ | 0x104 | 4 | int | m_bInteractiveDemoQuit | +------------+----------+----------------------------------------+-------------------------------+ | 0x108 | 1 | unsigned char | m_nBmpDraw | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x10c | 60 | :ref:`CKeyInfo` | m_pVirtualKeys[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x148 | 20 | int | m_pVirtualKeysFlags[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x15c | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenChapter: CScreenChapter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenChapter Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 60 | :ref:`CKeyInfo` | m_pVirtualKeys[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 20 | int | m_pVirtualKeysFlags[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x7C | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 4 | int | m_nChapter | +------------+----------+----------------------------------------+-------------------------------+ | 0x84 | 4 | int | m_nDream | +------------+----------+----------------------------------------+-------------------------------+ | 0x88 | 8 | :ref:`CResRef` | m_cResText | +------------+----------+----------------------------------------+-------------------------------+ | 0x90 | 4 | :ref:`CList`\* | m_pTextList | +------------+----------+----------------------------------------+-------------------------------+ | 0x94 | 28 | :ref:`CTypedPtrList` | m_bmpList | +------------+----------+----------------------------------------+-------------------------------+ | 0xB0 | 4 | long | m_nBmpFlip | +------------+----------+----------------------------------------+-------------------------------+ | 0xB4 | 4 | long | m_nCurrBmp | +------------+----------+----------------------------------------+-------------------------------+ | 0xB8 | 4 | int | m_nParagraph | +------------+----------+----------------------------------------+-------------------------------+ | 0xBC | 4 | int | m_nLine | +------------+----------+----------------------------------------+-------------------------------+ | 0xC0 | 20 | :ref:`CSound` | m_cVoiceSound | +------------+----------+----------------------------------------+-------------------------------+ | 0xD4 | 4 | int | m_bStartSound | +------------+----------+----------------------------------------+-------------------------------+ | 0xD8 | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0xDC | 8 | :ref:`CResRef` | m_cResPower | +------------+----------+----------------------------------------+-------------------------------+ | 0xE4 | 4 | int | m_nSongCountDown | +------------+----------+----------------------------------------+-------------------------------+ | 0xE8 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x108 | 4 | int | m_bMPRemoveTextScreen | +------------+----------+----------------------------------------+-------------------------------+ | 0x10C | 4 | int | m_nCustomSong | +------------+----------+----------------------------------------+-------------------------------+ | 0x110 | 4 | int | m_waitingForNetwork | +------------+----------+----------------------------------------+-------------------------------+ | 0x114 | 4 | :ref:`CWarp`\* | m_destinationEngine | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenCharacter: CScreenCharacter ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenCharacter Class` +------------+----------+--------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x64C | 28 | :ref:`CTypedPtrList` | m_lPopupStack | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x668 | 1 | unsigned char | m_nDualClass | +------------+----------+--------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x66C | 4 | :ref:`CStringList`\* | m_pScripts | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x670 | 4 | int | m_nScriptIndex | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x674 | 4 | int | m_nErrorState | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x678 | 4 | int | m_nCharacterIndex | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x67C | 4 | :ref:`CStringList`\* | m_pCharacters | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x680 | 4 | int | m_bMultiPlayerViewable | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x684 | 4 | int | m_bMultiPlayerModifyable | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x688 | 4 | __POSITION\* | m_nCurrentPortrait | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x68C | 4 | :ref:`CStringList`\* | m_pAppearancePortraits | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x690 | 4 | :ref:`CStringList`\* | m_pPortraits | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x694 | 4 | int | m_nCustomSoundSetIndex | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x698 | 4 | int | m_nCustomSoundIndex | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x69C | 8 | :ref:`CResRef` | m_cResPortraitSmall | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6A4 | 8 | :ref:`CResRef` | m_cResPortraitLarge | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6AC | 7 | unsigned char | m_aColor[7] | +------------+----------+--------------------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6B4 | 4 | :ref:`CString` | m_sScript | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6B8 | 44 | int | m_bSmartScriptFlags[11] | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6E4 | 4 | :ref:`CString` | m_sNewScript | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6E8 | 8 | :ref:`CResRef` | m_cResPortraitSmallTemp | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6F0 | 8 | :ref:`CResRef` | m_cResPortraitMediumTemp | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6F8 | 4 | unsigned long | m_nSpecialization | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x6FC | 4 | :ref:`CStringList`\* | m_pSounds | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x700 | 8 | :ref:`CResRef` | m_cResSoundSet | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x708 | 4 | :ref:`CCreatureFileHeader`\*| m_pTempBaseStats | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x70C | 4 | :ref:`CDerivedStats`\* | m_pTempDerivedStats | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x710 | 28 | :ref:`CTypedPtrList` | m_lstMageSpells | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x72C | 4 | int | m_bShiftKeyDown | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x730 | 4 | int | m_bCapsLockKeyOn | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x734 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+--------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x738 | 4 | :ref:`CString` | m_sExportName | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x73C | 4 | int | m_bAddInactiveAbilities | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x740 | 36 | int | m_OldMageSpells[9] | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x764 | 28 | int | m_OldPriestSpells[7] | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x780 | 4 | int | m_bPauseState | +------------+----------+--------------------------------------------------+-------------------------------+ | 0x784 | 4 | int | m_bIsLevelingUp | +------------+----------+--------------------------------------------------+-------------------------------+ ---- .. _CScreenCharacterStoredMageSpell: CScreenCharacterStoredMageSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CResRef` | m_cResSpell | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 1 | unsigned char | m_nSpellLevel | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenConnection: CScreenConnection ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenConnection Class` +------------+----------+--------------------------------------------------+----------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x64C | 4 | int | m_bCtrlKeyDown | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x650 | 4 | int | m_bShiftKeyDown | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x654 | 4 | int | m_bCapsLockKeyOn | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x658 | 4 | int | m_nProtocol | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x65C | 4 | int | m_nSessionIndex | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x660 | 16 | ``GUID`` | m_guidSession | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x670 | 4 | unsigned long | m_dwLastSessionRefresh | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x674 | 4 | int | m_nEnumServiceProvidersCountDown | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x678 | 4 | int | m_bStartedCountDown | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x67C | 1 | unsigned char | m_bFirstRender | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x67D | 1 | unsigned char | m_bEliminateInitialize | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x67E | 1 | unsigned char | m_bEMSwapped | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x67F | 1 | unsigned char | m_bEMValue | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x680 | 1 | unsigned char | m_bEMWaiting | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x681 | 1 | unsigned char | m_nEMEvent | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x682 | 1 | unsigned char | m_nEMEventStage | +------------+----------+--------------------------------------------------+----------------------------------+ | | 1 | | ```` | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x684 | 4 | int | m_nErrorState | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x688 | 4 | unsigned long | m_strErrorText | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x68C | 4 | int | m_nNumErrorButtons | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x690 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x69C | 4 | int | m_bAllowInput | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6A0 | 1 | unsigned char | m_bEnumeratingAsynchronous | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6A1 | 1 | unsigned char | m_bJoinWaiting | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6A2 | 1 | unsigned char | m_bJoinComplete | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6A3 | 1 | unsigned char | m_nJoinEvent | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6A4 | 4 | int | m_nJoinErrorCode | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6A8 | 1 | unsigned char | m_bJoinReturnValue | +------------+----------+--------------------------------------------------+----------------------------------+ | | 3 | | ```` | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6AC | 4 | int | m_nWaitingForProviderNumber | +------------+----------+--------------------------------------------------+----------------------------------+ | 0x6B0 | 4 | int | m_nWaitingForProviderCount | +------------+----------+--------------------------------------------------+----------------------------------+ ---- .. _CScreenCreateChar: CScreenCreateChar ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenCreateChar Class` +------------+----------+-----------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x2C | 32 | :ref:`C2DArray` | m_kitList | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x4C | 108 | :ref:`CImportGame` | m_importGame | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0xB8 | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x550 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6D8 | 4 | int | m_bCtrlKeyDown | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6DC | 4 | int | m_bShiftKeyDown | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6E0 | 4 | int | m_bCapsLockKeyOn | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6E4 | 4 | ``CScreenCreateCharStep`` | m_nFirstStep | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6E8 | 4 | ``CScreenCreateCharStep`` | m_nCurrentStep | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6EC | 4 | ``CScreenCreateCharStep`` | m_nNextStep | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6F0 | 4 | int | m_nGameSprite | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6F4 | 4 | int | m_nExtraProficiencySlots | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6F8 | 4 | int | m_nExtraAbilityPoints | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x6FC | 4 | int | m_nExtraSpells | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x700 | 4 | int | m_nExtraSkillPoints | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x704 | 4 | int | m_nBasePickPockets | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x708 | 4 | int | m_nBaseOpenLocks | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x70C | 4 | int | m_nBaseDetectTraps | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x710 | 4 | int | m_nBaseMoveSilently | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x714 | 4 | int | m_nBaseHideInShadows | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x718 | 4 | int | m_nBaseDetectIllusion | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x71C | 4 | int | m_nBaseSetTraps | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x720 | 1 | unsigned char | m_nMinSTR | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x721 | 1 | unsigned char | m_nMinDEX | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x722 | 1 | unsigned char | m_nMinCON | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x723 | 1 | unsigned char | m_nMinINT | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x724 | 1 | unsigned char | m_nMinWIS | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x725 | 1 | unsigned char | m_nMinCHR | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x726 | 1 | unsigned char | m_nMaxSTR | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x727 | 1 | unsigned char | m_nMaxDEX | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x728 | 1 | unsigned char | m_nMaxCON | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x729 | 1 | unsigned char | m_nMaxINT | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x72A | 1 | unsigned char | m_nMaxWIS | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x72B | 1 | unsigned char | m_nMaxCHR | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x72C | 1 | unsigned char | m_nPreviousMin | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x72D | 1 | unsigned char | m_nPreviousMax | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x730 | 4 | int | m_nMaxProficiencySlots | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x734 | 4 | __POSITION\* | m_nCurrentPortrait | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x738 | 4 | :ref:`CStringList`\* | m_pAppearancePortraits | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x73C | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x758 | 4 | int | m_nEngineState | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x75C | 4 | int | m_nCharacterSlot | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x760 | 4 | int | m_nTopHatedRace | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x764 | 1 | unsigned char | m_nPickRange | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x765 | 1 | unsigned char | m_nMemorySTR | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x766 | 1 | unsigned char | m_nMemorySTRExtra | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x767 | 1 | unsigned char | m_nMemoryDEX | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x768 | 1 | unsigned char | m_nMemoryCON | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x769 | 1 | unsigned char | m_nMemoryINT | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x76A | 1 | unsigned char | m_nMemoryWIS | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x76B | 1 | unsigned char | m_nMemoryCHR | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x76C | 4 | int | m_nMemoryExtra | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x770 | 4 | int | m_nPortraitSmallIndex | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x774 | 4 | int | m_nPortraitMediumIndex | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x778 | 4 | :ref:`CStringList`\* | m_pPortraits | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x77C | 4 | int | m_nCustomSoundSetIndex | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x780 | 4 | int | m_nCustomSoundIndex | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x784 | 4 | int | m_nCharacterIndex | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x788 | 4 | int | m_nPrerollTopIndex | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x78C | 4 | :ref:`CStringList`\* | m_pCharacters | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x790 | 4 | int | m_bImported | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x794 | 4 | :ref:`CStringList`\* | m_pSounds | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x798 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x7B8 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x7D8 | 32 | :ref:`CVidFont` | m_preLoadFontTool | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x7F8 | 1 | unsigned char | m_nCurrentSpellLevel | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x7FC | 4 | int | m_nExtraMageSpells | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x800 | 4 | :ref:`CCreatureFileHeader`\* | m_pOldBaseStats | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x804 | 4 | :ref:`CDerivedStats`\* | m_pOldDerivedStats | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x808 | 4 | long | m_nOldConHPBonus | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x80C | 1 | unsigned char | m_nCurrentSpellLevelChoice | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x80D | 1 | unsigned char | m_nCurrentSpellLevelChoiceMax | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x80E | 2 | unsigned short | m_nImportedCharHPs | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x810 | 2 | unsigned short | m_nImportedCharConBonus | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x812 | 1 | unsigned char | m_nImportedDualClass | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x814 | 4 | unsigned long | m_nImportedDualKit | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x818 | 4 | int | m_nImportedDualReactivated | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x81C | 1 | unsigned char | m_byImportedCharVersion | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x81E | 2 | short | m_nSelectedSpecialistSpells | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x820 | 2 | short | m_nMemorizedSpecialistSpells | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x824 | 4 | int | m_nTotalKits | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x828 | 2 | unsigned short | m_nHatedRaces | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x82C | 4 | ``importStateType`` | m_importState | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x830 | 4 | unsigned long | m_strDefaultHelpString | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x834 | 1 | unsigned char | m_bUpdatedHelp | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x838 | 4 | unsigned long | m_strCurrentHelpString | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x83C | 4 | int | m_bGaveExtraXP | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x840 | 4 | long | m_nExtraXP | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x844 | 4 | :ref:`CString` | m_sImportCharName | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x848 | 4 | int | m_nErrorState | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x84C | 4 | unsigned long | m_strErrorText | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x850 | 4 | int | m_nNumErrorButtons | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x854 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x860 | 36 | int | m_OldMageSpells[9] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x884 | 28 | int | m_OldPriestSpells[7] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8A0 | 20 | :ref:`CTypedPtrArray` | m_aBaseProficiencySlots | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8B4 | 4 | :ref:`CCreatureFileHeader`\* | m_pTempBaseStats | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8B8 | 4 | :ref:`CDerivedStats`\* | m_pTempDerivedStats | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8BC | 28 | int | m_storedSkillPoints[7] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8D8 | 4 | int | m_bAddInactiveAbilities | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8DC | 4 | :ref:`CStringList`\* | m_szCharInfoStorage | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8E0 | 4 | int | m_nSpellcasterLevel | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8E4 | 4 | int | m_nNumLevelUpAbilities | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8E8 | 1 | unsigned char | m_nCurrentAbilityLevelChoice | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8EC | 4 | int | m_bFinishedAbilitySelection | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8F0 | 4 | :ref:`CGameAbilityList`\* | m_lstLevelUpAbilitiesList | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x8F4 | 24 | unsigned char | m_lstSelectedAbility[24] | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x90C | 1 | unsigned char | m_nSelectedAbilityInd | +------------+----------+-----------------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x910 | 4 | int | m_nDualClass | +------------+----------+-----------------------------------------------------+-------------------------------+ | 0x914 | 4 | int | m_nSpecialization | +------------+----------+-----------------------------------------------------+-------------------------------+ ---- .. _CScreenCreateParty: CScreenCreateParty ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenCreateParty Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 60 | :ref:`CKeyInfo` | m_pVirtualKeys[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 4 | int | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C | 20 | int | m_pVirtualKeysFlags[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x84 | 4 | int | m_firstCall | +------------+----------+----------------------------------------+-------------------------------+ | 0x88 | 32 | :ref:`CVidFont` | m_preloadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0xA8 | 4 | int | m_nCharacterSlot | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenDLC: CScreenDLC ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenDLC Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 4 | int | m_bExitProgram | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x66C | 4 | unsigned long | m_dwErrorTextId | +------------+----------+----------------------------------------+-------------------------------+ | 0x670 | 4 | unsigned long | m_dwErrorState | +------------+----------+----------------------------------------+-------------------------------+ | 0x674 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x684 | 28 | :ref:`CTypedPtrList` | m_lOptionsStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A0 | 4 | int | m_bSpriteMirror | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A4 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A8 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C8 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x6E8 | 4 | int | m_nNumDLC | +------------+----------+----------------------------------------+-------------------------------+ | 0x6EC | 4 | int | m_nCurrentDLC | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F0 | 4 | int | m_nDlcState | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenInventory: CScreenInventory ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenInventory Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | :ref:`CItem`\* | m_pTempItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C8 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 8 | :ref:`CPoint` | m_cLastMousePosition | +------------+----------+----------------------------------------+-------------------------------+ | 0x65C | 4 | int | m_nTopGroundItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x660 | 24 | long | m_nGroundPile[6] | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 24 | int | m_bGroundPileQueried[6] | +------------+----------+----------------------------------------+-------------------------------+ | 0x690 | 4 | int | m_nErrorState | +------------+----------+----------------------------------------+-------------------------------+ | 0x694 | 4 | unsigned long | m_strErrorText | +------------+----------+----------------------------------------+-------------------------------+ | 0x698 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0x69C | 4 | int | m_nLastSwapPortrait | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A0 | 4 | unsigned long | m_dwLastSwapButton | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A4 | 4 | int | m_bMultiPlayerViewable | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A8 | 8 | :ref:`CResRef` | m_cCheckLearnSpellRes | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B0 | 4 | int | m_nCheckLearnSpellCountDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B4 | 4 | int | m_bDroppedItemInHand | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B8 | 1 | unsigned char | m_bPauseWarningDisplayed | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6BC | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x6DC | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x6FC | 32 | :ref:`CVidFont` | m_preLoadFontTool | +------------+----------+----------------------------------------+-------------------------------+ | 0x71C | 4 | unsigned long | m_stSpellsDisabled | +------------+----------+----------------------------------------+-------------------------------+ | 0x720 | 4 | int | m_bLearnSpellFailed | +------------+----------+----------------------------------------+-------------------------------+ | 0x724 | 4 | unsigned long | m_strLearnSpellFailedReason | +------------+----------+----------------------------------------+-------------------------------+ | 0x728 | 4 | int | m_bPauseState | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenJournal: CScreenJournal ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenJournal Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 4 | int | m_bShiftKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 4 | int | m_bCapsLockKeyOn | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x655 | 8 | :ref:`CResRef` | m_oldMosaic | +------------+----------+----------------------------------------+-------------------------------+ | 0x65D | 8 | :ref:`CResRef` | m_oldFont | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x668 | 4 | unsigned long | m_rgbOldText | +------------+----------+----------------------------------------+-------------------------------+ | 0x66C | 4 | unsigned long | m_rgbOldBackground | +------------+----------+----------------------------------------+-------------------------------+ | 0x670 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x690 | 32 | :ref:`CVidFont` | m_preLoadFontTool | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B0 | 4 | int | m_bPauseState | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenLoad: CScreenLoad ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenLoad Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 60 | :ref:`CKeyInfo` | m_pVirtualKeys[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 20 | int | m_pVirtualKeysFlags[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x7C | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 4 | int | m_nTopGameSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0x84 | 4 | int | m_nNumGameSlots | +------------+----------+----------------------------------------+-------------------------------+ | 0x88 | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x8C | 20 | :ref:`CTypedPtrArray` | m_aGameSlots | +------------+----------+----------------------------------------+-------------------------------+ | 0xA0 | 4 | int | m_nCurrentGameSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0xA4 | 4 | unsigned long | m_strErrorText | +------------+----------+----------------------------------------+-------------------------------+ | 0xA8 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0xB4 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0xB8 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0xD4 | 4 | int | m_nMaxSlotNumber | +------------+----------+----------------------------------------+-------------------------------+ | 0xD8 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0xF8 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x118 | 4 | int | m_bHideSoA | +------------+----------+----------------------------------------+-------------------------------+ | 0x11C | 4 | int | m_bHideToB | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenMap: CScreenMap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenMap Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x668 | 2 | short | m_nLastPicked | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x66C | 4 | int | m_nErrorState | +------------+----------+----------------------------------------+-------------------------------+ | 0x670 | 4 | unsigned long | m_strErrorText | +------------+----------+----------------------------------------+-------------------------------+ | 0x674 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x684 | 1 | unsigned char | m_bSelectWorldOnUp | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x688 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A8 | 32 | :ref:`CVidFont` | m_preLoadFontTool | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C8 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x6E8 | 4 | unsigned long | m_noteStrref | +------------+----------+----------------------------------------+-------------------------------+ | 0x6EC | 4 | int | m_bShiftKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F0 | 4 | int | m_bCapsLockKeyOn | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F4 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F8 | 4 | long | m_nClairvoyanceCaster | +------------+----------+----------------------------------------+-------------------------------+ | 0x6FC | 4 | long | m_nClairvoyanceDuration | +------------+----------+----------------------------------------+-------------------------------+ | 0x700 | 1 | unsigned char | m_bClairvoyanceCastInBlack | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x704 | 4 | int | m_nScrollState | +------------+----------+----------------------------------------+-------------------------------+ | 0x708 | 4 | unsigned long | m_nTimeLButtonHeld | +------------+----------+----------------------------------------+-------------------------------+ | 0x70C | 16 | :ref:`CRect` | m_HoldArea | +------------+----------+----------------------------------------+-------------------------------+ | 0x71C | 1 | bool | m_bDisplayExploredMap | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x720 | 168 | :ref:`CVidMosaic` | m_vmMap | +------------+----------+----------------------------------------+-------------------------------+ | 0x7C8 | 4 | int | m_bHaveMap | +------------+----------+----------------------------------------+-------------------------------+ | 0x7CC | 4 | unsigned long | m_mapTint | +------------+----------+----------------------------------------+-------------------------------+ | 0x7D0 | 4 | :ref:`CGameArea`\* | m_pArea | +------------+----------+----------------------------------------+-------------------------------+ | 0x7D4 | 16 | :ref:`CRect` | m_rViewPort | +------------+----------+----------------------------------------+-------------------------------+ | 0x7E4 | 72 | ``MAP_CHAR_POSITIONS`` | m_charPositions[6] | +------------+----------+----------------------------------------+-------------------------------+ | 0x82C | 2 | unsigned short | m_nCharInArea | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x830 | 4 | int | m_nCharactersChanged | +------------+----------+----------------------------------------+-------------------------------+ | 0x834 | 4 | unsigned long | m_nUserNoteId | +------------+----------+----------------------------------------+-------------------------------+ | 0x838 | 16 | :ref:`CRect` | m_rMap | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenMovies: CScreenMovies ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenMovies Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 4 | :ref:`CStringList`\* | m_pMovies | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 4 | int | m_nMovieIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x658 | 4 | :ref:`CString` | m_sSelectedMovie | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenMultiPlayer: CScreenMultiPlayer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenMultiPlayer Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 4 | int | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 4 | int | m_bShiftKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 4 | int | m_bCapsLockKeyOn | +------------+----------+----------------------------------------+-------------------------------+ | 0x658 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x674 | 4 | int | m_nModifiedCharacterSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x67C | 4 | int | m_nChatMessageCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x680 | 4 | int | m_nPermissionsChatMessageCount| +------------+----------+----------------------------------------+-------------------------------+ | 0x684 | 4 | int | m_nKickPlayerSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0x688 | 4 | int | m_nCharacterSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0x68C | 1 | unsigned char | m_bMultiplayerStartup | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x690 | 4 | int | m_bLastLockAllowInput | +------------+----------+----------------------------------------+-------------------------------+ | 0x694 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B4 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x6D4 | 32 | :ref:`CVidFont` | m_preLoadFontTool | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F4 | 1 | unsigned char | m_bSentGameDemand | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F8 | 24 | :ref:`CString` | m_playerNames[6] | +------------+----------+----------------------------------------+-------------------------------+ | 0x710 | 24 | :ref:`CString` | m_characterNames[6] | +------------+----------+----------------------------------------+-------------------------------+ | 0x728 | 24 | :ref:`CString` | m_characterPortrait[6] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenOptions: CScreenOptions ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenOptions Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 4 | int | m_bExitProgram | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x66C | 4 | unsigned long | m_dwErrorTextId | +------------+----------+----------------------------------------+-------------------------------+ | 0x670 | 4 | unsigned long | m_dwErrorState | +------------+----------+----------------------------------------+-------------------------------+ | 0x674 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x684 | 28 | :ref:`CTypedPtrList` | m_lOptionsStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A0 | 4 | int | m_bSpriteMirror | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A4 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A8 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C8 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x6E8 | 1 | unsigned char | m_bFullScreenOptions | +------------+----------+----------------------------------------+-------------------------------+ | 0x6E9 | 1 | unsigned char | m_bReQuietSound | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6EC | 4 | int | m_nTopKeymap | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F0 | 4 | int | m_nSelectedKeymap | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F4 | 4 | int | m_nNumKeymapEntries | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F8 | 4 | int | m_nKeymapEditIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x6FC | 4 | char\* | m_cKeymapEditSection | +------------+----------+----------------------------------------+-------------------------------+ | 0x700 | 4 | char\* | m_cKeymapEditConflictSection | +------------+----------+----------------------------------------+-------------------------------+ | 0x704 | 4 | char\* | m_cKeymapEditConflictKey | +------------+----------+----------------------------------------+-------------------------------+ | 0x708 | 4 | int | m_nKeymapEditConflictIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x70C | 1 | char | m_cKeymapEditConflictValue | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x710 | 4 | int | m_bPauseState | +------------+----------+----------------------------------------+-------------------------------+ | 0x714 | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | | | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenPriestSpell: CScreenPriestSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenPriestSpell Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 4 | int | m_nSpellLevel | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 8 | :ref:`CResRef` | m_cResCurrentSpell | +------------+----------+----------------------------------------+-------------------------------+ | 0x658 | 4 | int | m_nErrorState | +------------+----------+----------------------------------------+-------------------------------+ | 0x65C | 4 | unsigned long | m_strErrorText | +------------+----------+----------------------------------------+-------------------------------+ | 0x660 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0x664 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x670 | 4 | int | m_bMultiPlayerViewable | +------------+----------+----------------------------------------+-------------------------------+ | 0x674 | 4 | int | m_nMemorizedSpellIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x67C | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x680 | 4 | int | m_bPriestPage | +------------+----------+----------------------------------------+-------------------------------+ | 0x684 | 4 | int | m_bPauseState | +------------+----------+----------------------------------------+-------------------------------+ | 0x688 | 4 | int | m_bControlled | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenSave: CScreenSave ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenSave Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | int | m_bQuitGameSave | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C8 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 4 | int | m_bShiftKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 4 | int | m_bCapsLockKeyOn | +------------+----------+----------------------------------------+-------------------------------+ | 0x658 | 4 | int | m_nTopGameSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0x65C | 4 | int | m_nNumGameSlots | +------------+----------+----------------------------------------+-------------------------------+ | 0x660 | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x664 | 20 | :ref:`CTypedPtrArray` | m_aGameSlots | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x694 | 4 | unsigned long | m_strErrorText | +------------+----------+----------------------------------------+-------------------------------+ | 0x698 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A4 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A8 | 4 | int | m_nCurrentGameSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0x6AC | 4 | int | m_nMaxSlotNumber | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B0 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B4 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x6D4 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F4 | 4 | int | m_bPauseState | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenStart: CScreenStart ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenStart Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | int | m_bStartMusic | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | int | m_bExitProgram | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 60 | :ref:`CKeyInfo` | m_pVirtualKeys[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x70 | 4 | int | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x74 | 20 | int | m_pVirtualKeysFlags[5] | +------------+----------+----------------------------------------+-------------------------------+ | 0x88 | 1 | unsigned char | m_bMovieOn | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x8C | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x90 | 4 | int | m_firstCall | +------------+----------+----------------------------------------+-------------------------------+ | 0x94 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0xB0 | 4 | int | m_nErrorState | +------------+----------+----------------------------------------+-------------------------------+ | 0xB4 | 4 | unsigned long | m_strErrorText | +------------+----------+----------------------------------------+-------------------------------+ | 0xB8 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0xBC | 16 | unsigned long | m_strErrorButtonText[4] | +------------+----------+----------------------------------------+-------------------------------+ | 0xCC | 4 | int | m_bPlayEndCredits | +------------+----------+----------------------------------------+-------------------------------+ | 0xD0 | 4 | int | m_bSplashScreens | +------------+----------+----------------------------------------+-------------------------------+ | 0xD4 | 4 | int | m_bNeedCDCheck | +------------+----------+----------------------------------------+-------------------------------+ | 0xD8 | 4 | int | m_nCurrentDLC | +------------+----------+----------------------------------------+-------------------------------+ | 0xDC | 4 | int | m_nNumDLC | +------------+----------+----------------------------------------+-------------------------------+ | 0xE0 | 4 | int | m_nLastImageUpdate | +------------+----------+----------------------------------------+-------------------------------+ | 0xE4 | 4 | int | m_nDlcState | +------------+----------+----------------------------------------+-------------------------------+ | 0xE8 | 32 | :ref:`CVidFont` | m_preloadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenStore: CScreenStore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenStore Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x64D | 1 | unsigned char | m_bShiftKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 4 | int | m_bCapsLockKeyOn | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 4 | int | m_nTopGroupItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x658 | 28 | :ref:`CPtrList` | m_lGroupItems | +------------+----------+----------------------------------------+-------------------------------+ | 0x674 | 4 | int | m_nTopStoreItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 28 | :ref:`CPtrList` | m_lStoreItems | +------------+----------+----------------------------------------+-------------------------------+ | 0x694 | 4 | int | m_nTopSpellItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x698 | 28 | :ref:`CPtrList` | m_lSpellItems | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B4 | 4 | int | m_nTopIdentifyItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x6B8 | 28 | :ref:`CPtrList` | m_lIdentifyItems | +------------+----------+----------------------------------------+-------------------------------+ | 0x6D4 | 4 | int | m_nTopDrinkItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x6D8 | 8 | :ref:`CResRef` | m_cResStore | +------------+----------+----------------------------------------+-------------------------------+ | 0x6E0 | 8 | :ref:`CResRef` | m_cResBag | +------------+----------+----------------------------------------+-------------------------------+ | 0x6E8 | 16 | unsigned long | m_adwButtonPanelId[4] | +------------+----------+----------------------------------------+-------------------------------+ | 0x6F8 | 4 | :ref:`CStore`\* | m_pStore | +------------+----------+----------------------------------------+-------------------------------+ | 0x6FC | 4 | :ref:`CStore`\* | m_pBag | +------------+----------+----------------------------------------+-------------------------------+ | 0x700 | 4 | long | m_nStoreCost | +------------+----------+----------------------------------------+-------------------------------+ | 0x704 | 4 | long | m_nGroupCost | +------------+----------+----------------------------------------+-------------------------------+ | 0x708 | 4 | unsigned long | m_dwSpellCost | +------------+----------+----------------------------------------+-------------------------------+ | 0x70C | 4 | unsigned long | m_dwIdentifyCost | +------------+----------+----------------------------------------+-------------------------------+ | 0x710 | 4 | unsigned long | m_dwRoomType | +------------+----------+----------------------------------------+-------------------------------+ | 0x714 | 20 | :ref:`CAIObjectType` | m_cAIProprietor | +------------+----------+----------------------------------------+-------------------------------+ | 0x728 | 20 | :ref:`CAIObjectType` | m_cAICustomer | +------------+----------+----------------------------------------+-------------------------------+ | 0x73C | 4 | unsigned long | m_dwDonationAmount | +------------+----------+----------------------------------------+-------------------------------+ | 0x740 | 4 | long | m_nDrinkRumorIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x744 | 4 | long | m_nDonateRumorIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x748 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x764 | 4 | :ref:`CItem`\* | m_pHistoryItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x768 | 4 | int | m_bHistoryUseEnabled | +------------+----------+----------------------------------------+-------------------------------+ | 0x76C | 8 | :ref:`CResRef` | m_cResInfoSpell | +------------+----------+----------------------------------------+-------------------------------+ | 0x774 | 4 | int | m_nChatMessageCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x778 | 4 | int | m_nErrorState | +------------+----------+----------------------------------------+-------------------------------+ | 0x77C | 4 | unsigned long | m_strErrorText | +------------+----------+----------------------------------------+-------------------------------+ | 0x780 | 4 | int | m_nNumErrorButtons | +------------+----------+----------------------------------------+-------------------------------+ | 0x784 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x790 | 1 | unsigned char | m_nCharisma | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x794 | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0x7B4 | 32 | :ref:`CVidFont` | m_preLoadFontStnSml | +------------+----------+----------------------------------------+-------------------------------+ | 0x7D4 | 32 | :ref:`CVidFont` | m_preLoadFontTool | +------------+----------+----------------------------------------+-------------------------------+ | 0x7F4 | 4 | unsigned long | m_nRequesterAmount | +------------+----------+----------------------------------------+-------------------------------+ | 0x7F8 | 4 | int | m_nRequesterButtonId | +------------+----------+----------------------------------------+-------------------------------+ | 0x7FC | 4 | int | m_bStoreIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x800 | 4 | int | m_bStoreStarted | +------------+----------+----------------------------------------+-------------------------------+ | 0x804 | 4 | int | m_nBagCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x808 | 4 | float | m_fPanStorage | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenStoreItem: CScreenStoreItem ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CResRef` | m_cResSpell | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | :ref:`CItem`\* | m_pItem | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | int | m_bSelected | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | int | m_bEnabled | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | int | m_nSlot | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | long | m_nValue | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | long | m_nSingleValue | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | unsigned long | m_nCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | unsigned long | m_nMaxCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | unsigned long | m_nStoreCount | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenWizSpell: CScreenWizSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenWizSpell Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 4 | int | m_nSpellLevel | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 4 | int | m_bMultiPlayerViewable | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 4 | int | m_nMemorizedSpellIndex | +------------+----------+----------------------------------------+-------------------------------+ | 0x658 | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x65C | 4 | int | m_bMagePage | +------------+----------+----------------------------------------+-------------------------------+ | 0x660 | 1 | unsigned char | m_nContingencyMaxLevel | +------------+----------+----------------------------------------+-------------------------------+ | 0x661 | 1 | unsigned char | m_nContingencyMaxSpells | +------------+----------+----------------------------------------+-------------------------------+ | 0x662 | 2 | short | m_bContingencyRestrictTarget | +------------+----------+----------------------------------------+-------------------------------+ | 0x664 | 4 | :ref:`CBaldurEngine`\* | m_pOldEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x668 | 1 | unsigned char | m_nContingencyCurrentLevel | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x66C | 4 | int | m_bContingencyCleric | +------------+----------+----------------------------------------+-------------------------------+ | 0x670 | 2 | unsigned short | m_nMaxContingencies | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x674 | 28 | :ref:`CTypedPtrList` | m_spellList | +------------+----------+----------------------------------------+-------------------------------+ | 0x690 | 8 | :ref:`CResRef` | m_refContingencyResRef | +------------+----------+----------------------------------------+-------------------------------+ | 0x698 | 4 | int | m_bControlled | +------------+----------+----------------------------------------+-------------------------------+ | 0x69C | 4 | int | m_bPauseState | +------------+----------+----------------------------------------+-------------------------------+ | 0x6A0 | 4 | int | m_bContingency | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScreenWorld: CScreenWorld ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenWorld Class` +------------+----------+-----------------------------------------------+-----------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x2C | 4 | long | m_nStupidMovieWait | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x30 | 4 | int | m_bProtagonistInStartArea | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x34 | 4 | long | m_nProtagonistMoveMax | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x38 | 4 | int | m_bWaitToRender | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x3C | 56 | SDL_Event | flickEvent | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x74 | 4 | int | m_bIgnoreDisplayTextTop | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x78 | 4 | int | nCounter | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7C | 4 | long | m_boredCount | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x80 | 4 | int | m_bored | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x84 | 4 | int | m_playerShutdown | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x88 | 4 | int | m_bShiftKeyDown | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x8C | 4 | int | m_bMenuKeyDown | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x90 | 4 | int | m_bCtrlKeyDown | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x94 | 4 | int | m_bCapsLockKeyOn | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x98 | 1 | unsigned char | m_bPaused | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x99 | 1 | unsigned char | m_bHardPaused | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9A | 1 | unsigned char | m_bHostOnlyPaused | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9B | 1 | unsigned char | m_bVisualPaused | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9C | 1 | unsigned char | m_bFirstRender | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA0 | 4 | int | m_bPausedBeforePickParty | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA4 | 4 | int | m_bCheatKeys | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA8 | 4 | int | m_bMButtonDown | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAC | 4 | int | m_bMButtonDragged | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xB0 | 4 | int | m_bSetStartViewCenter | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xB4 | 8 | :ref:`CPoint` | m_ptStartViewCenter | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xBC | 2 | short | m_sequence | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xBE | 1 | unsigned char | m_facing | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xBF | 1 | unsigned char | m_bloodLevel | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xC0 | 2 | unsigned short | m_castingGlow | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xC2 | 1 | unsigned char | m_hitEffect | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 1 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xC4 | 2 | short | m_renderText | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xC8 | 4 | int | m_newText | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xCC | 32 | :ref:`CVidFont` | m_vidFont | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xEC | 32 | :ref:`CVidFont` | m_vidFont2 | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x10C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x5A4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x72C | 104 | :ref:`CGameDialogSprite` | m_internalLoadedDialog | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x794 | 4 | :ref:`CGameDialogSprite`\* | m_pCurrentDialog | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x798 | 8 | :ref:`CPoint` | m_dialogStartPos | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7A0 | 8 | :ref:`CResRef` | m_dialogStartArea | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7A8 | 4 | int | m_dialogPausing | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7AC | 16 | :ref:`CRect` | m_newViewSize | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7BC | 4 | int | m_bForceViewSize | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7C0 | 1 | unsigned char | m_waitingOnResize | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7C1 | 1 | unsigned char | m_storeText | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7C4 | 4 | :ref:`CString` | m_consoleText | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7C8 | 4 | int | m_nTopContainerRow | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7CC | 4 | int | m_nTopGroupRow | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7D0 | 1 | unsigned char | m_bForceDitherToggledOn | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x7D4 | 276 | :ref:`CWeather` | m_WeatherController | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x8E8 | 4 | long | m_scrollLockId | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x8EC | 2 | short | m_nResponseMarker | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x8F0 | 4 | int | m_bBlockStepDialog | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x8F4 | 4 | long | m_interactionIndex | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x8F8 | 4 | long | m_interactionTarget | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x8FC | 4 | :ref:`CString` | m_interactionString | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x900 | 4 | long | m_interactionCounter | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x904 | 4 | int | m_interactionForce | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x908 | 4 | long | m_interactionTime | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x90C | 4 | long | m_lastInteractionIndex | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x910 | 1 | unsigned char | m_bSetNightOnActivate | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x911 | 1 | unsigned char | m_bSetDayOnActivate | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x914 | 4 | int | m_ambianceForce | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x918 | 4 | unsigned long | m_deltaTime | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x91C | 4 | int | m_nChatMessageCount | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x920 | 8 | :ref:`CResRef` | m_movie | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x928 | 1 | unsigned char | m_bInControlOfDialog | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x929 | 1 | unsigned char | m_bInControlOfStore | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x92C | 4 | int | m_bGameOverPanel | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x930 | 8 | :ref:`CResRef` | m_movieDelay | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x938 | 4 | long | m_autoPauseId | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x93C | 4 | unsigned long | m_autoPauseRef | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x940 | 4 | unsigned long | m_autoPauseColor | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x944 | 4 | unsigned long | m_autoPauseName | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x948 | 4 | int | m_nStoreChatMessageCount | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x94C | 4 | long | m_nPickPartyRemoveCharacterId | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x950 | 40 | long | m_aPickPartyCharacter[10] | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x978 | 4 | int | m_nPickPartyNumCharacters | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x97C | 4 | unsigned long | m_strErrorText | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x980 | 12 | unsigned long | m_strErrorButtonText[3] | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x98C | 4 | unsigned long | m_nDialogPanelOnStartDialog | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x990 | 1 | unsigned char | m_bDialogPressedAButton | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x991 | 1 | unsigned char | m_bEndMajorEventListenToJoin | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x992 | 1 | unsigned char | m_bEndMajorEventPauseStatus | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x993 | 1 | unsigned char | m_bChapterTransitionPending | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x994 | 4 | int | m_nChapterTransition | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x998 | 8 | unsigned char | m_szChapterTransitionResRef[8]----| +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9A0 | 1 | unsigned char | m_bTextScreenTransitionPending | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9A1 | 8 | unsigned char | m_szTextScreenTransitionResRef[8] | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9A9 | 1 | unsigned char | m_bMoviePending | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9AA | 8 | unsigned char | m_szMovieResRef[8] | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9B2 | 1 | unsigned char | m_bPendingMapWorld | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 1 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9B4 | 4 | int | m_idPendingMapWorldController | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9B8 | 2 | short | m_nPendingMapWorldDirection | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9BA | 1 | unsigned char | m_bRestPending | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9BB | 1 | unsigned char | m_bRestRenting | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9BC | 1 | unsigned char | m_bRestMovie | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9C0 | 4 | int | m_nRestHP | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9C4 | 4 | int | m_nRestGP | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9C8 | 4 | long | m_nBattleCryTimeOut | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9CC | 28 | :ref:`CTypedPtrList` | m_deathSoundList | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9E8 | 4 | long | m_nPartySizeCheckStartDelay | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9EC | 1 | unsigned char | m_bPlayEndCredits | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9ED | 1 | unsigned char | m_bPendingReformParty | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9EE | 1 | unsigned char | m_bLeaveAreaLuaPanicPending | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 1 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9F0 | 4 | unsigned long | m_ulLeaveAreaLuaPanicTimer | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9F4 | 8 | :ref:`CPoint` | m_ptLeaveAreaLuaPanicLocation | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0x9FC | 2 | short | m_nLeaveAreaLuaPanicDirection | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA00 | 4 | :ref:`CString` | m_sLeaveAreaLuaPanicAreaName | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA04 | 4 | :ref:`CString` | m_sLeaveAreaLuaPanicParchment | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA08 | 4 | unsigned long | m_dwPausedTickCount | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA0C | 4 | unsigned long | m_dwLastDialogTickCount | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA10 | 4 | long | m_lastAmbiance | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA14 | 4 | long | m_comingOutOfDialog | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA18 | 1 | unsigned char | m_nAutoHideInterface | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA19 | 1 | unsigned char | m_nAutoUnhideInterface | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 2 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA1C | 16 | :ref:`CRect` | m_rCurrViewPort | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA2C | 4 | int | m_bLeftPanel | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA30 | 4 | int | m_bRightPanel | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA34 | 1 | unsigned char | m_bCheckRestrict | +------------+----------+-----------------------------------------------+-----------------------------------+ | | 3 | | ```` | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA38 | 28 | :ref:`CTypedPtrList` | m_otherTalkers | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA54 | 4 | long | m_nInteractionBlockCnt | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA58 | 4 | int | m_bInteractionBlock | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA5C | 4 | int | m_nStateOverride | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA60 | 4 | long | m_nStateOverrideCnt | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA64 | 4 | long | m_nBlackOutCountDown | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA68 | 4 | long | m_nCutSceneDeadZoneCountDown | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA6C | 4 | long | m_nContainerOutline | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA70 | 4 | int | m_tutorialWaitTimer | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA74 | 4 | int | m_bPausedBeforeStore | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA78 | 4 | long | m_nPauseMessageUpdate | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA7C | 4 | unsigned long | m_deathStrRef | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA80 | 4 | int | m_bHighlightEnabled | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA84 | 4 | float | m_fPanStorage | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA88 | 4 | int | m_bViewingContainer | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA8C | 4 | int | m_bInDialog | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA90 | 4 | int | m_bDead | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA94 | 4 | int | m_bInCommand | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA98 | 4 | int | m_bPickingParty | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xA9C | 4 | int | m_bAutoZooming | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAA0 | 4 | float | m_fPreviousZoom | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAA4 | 4 | float | m_fTargetZoom | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAA8 | 16 | :ref:`CRect` | m_rPreviousViewPort | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAB8 | 8 | :ref:`CPoint` | m_ptPreviousView | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAC0 | 8 | :ref:`CPoint` | m_ptTarget | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAC8 | 4 | int | m_nZoomCurStep | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xACC | 16 | :ref:`CRect` | m_rOriginalViewPort | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xADC | 8 | :ref:`CPoint` | m_ptOriginalView | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAE4 | 4 | float | m_fOriginalZoom | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAE8 | 4 | long\* | m_storedGroup | +------------+----------+-----------------------------------------------+-----------------------------------+ | 0xAEC | 4 | int | m_nStoredGroupMembers | +------------+----------+-----------------------------------------------+-----------------------------------+ ---- .. _CScreenWorldMap: CScreenWorldMap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScreenWorldMap Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 44 | :ref:`CBaldurEngine` | m_cBaldurEngine | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1176 | :ref:`CKeyInfo` | m_pVirtualKeys[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C4 | 392 | int | m_pVirtualKeysFlags[98] | +------------+----------+----------------------------------------+-------------------------------+ | 0x64C | 1 | unsigned char | m_bCtrlKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x64D | 1 | unsigned char | m_bShiftKeyDown | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x650 | 4 | int | m_bCapsLockKeyOn | +------------+----------+----------------------------------------+-------------------------------+ | 0x654 | 28 | :ref:`CPtrList` | m_lPopupStack | +------------+----------+----------------------------------------+-------------------------------+ | 0x670 | 8 | :ref:`CSize` | m_mapSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x678 | 4 | int | m_nEngineState | +------------+----------+----------------------------------------+-------------------------------+ | 0x67C | 8 | :ref:`CPoint` | m_ptMapView | +------------+----------+----------------------------------------+-------------------------------+ | 0x684 | 168 | :ref:`CVidMosaic` | m_vmMap | +------------+----------+----------------------------------------+-------------------------------+ | 0x72C | 192 | :ref:`CVidCell` | m_vcAreas | +------------+----------+----------------------------------------+-------------------------------+ | 0x7EC | 192 | :ref:`CVidCell` | m_vcMarker | +------------+----------+----------------------------------------+-------------------------------+ | 0x8AC | 32 | :ref:`CVidFont` | m_vfLabel | +------------+----------+----------------------------------------+-------------------------------+ | 0x8CC | 1024 | RGBQUAD | m_aPalette[256] | +------------+----------+----------------------------------------+-------------------------------+ | 0xCCC | 4 | unsigned long | m_wAreaForeground | +------------+----------+----------------------------------------+-------------------------------+ | 0xCD0 | 4 | unsigned long | m_nHighlightArea | +------------+----------+----------------------------------------+-------------------------------+ | 0xCD4 | 4 | unsigned long | m_nSelectedArea | +------------+----------+----------------------------------------+-------------------------------+ | 0xCD8 | 4 | int | m_bSelectedReachable | +------------+----------+----------------------------------------+-------------------------------+ | 0xCDC | 4 | int | m_bOverSelectedArea | +------------+----------+----------------------------------------+-------------------------------+ | 0xCE0 | 8 | :ref:`CPoint` | m_ptMapStartMousePos | +------------+----------+----------------------------------------+-------------------------------+ | 0xCE8 | 8 | :ref:`CPoint` | m_ptMapStartView | +------------+----------+----------------------------------------+-------------------------------+ | 0xCF0 | 4 | int | m_bMapLeftDown | +------------+----------+----------------------------------------+-------------------------------+ | 0xCF4 | 4 | int | m_bMapDragging | +------------+----------+----------------------------------------+-------------------------------+ | 0xCF8 | 4 | :ref:`CGameArea`\* | m_pCurrentArea | +------------+----------+----------------------------------------+-------------------------------+ | 0xCFC | 4 | long | m_nLeaderSprite | +------------+----------+----------------------------------------+-------------------------------+ | 0xD00 | 4 | :ref:`CList`\* | m_pPath | +------------+----------+----------------------------------------+-------------------------------+ | 0xD04 | 4 | long | m_nLeavingEdge | +------------+----------+----------------------------------------+-------------------------------+ | 0xD08 | 4 | unsigned long | m_nCurrentLink | +------------+----------+----------------------------------------+-------------------------------+ | 0xD0C | 8 | :ref:`CResRef` | m_cResCurrentArea | +------------+----------+----------------------------------------+-------------------------------+ | 0xD14 | 20 | :ref:`CArray` | m_aAreaRect | +------------+----------+----------------------------------------+-------------------------------+ | 0xD28 | 4 | CUIControlTextDisplay\* | m_pChatDisplay | +------------+----------+----------------------------------------+-------------------------------+ | 0xD2C | 4 | int | m_nChatMessageCount | +------------+----------+----------------------------------------+-------------------------------+ | 0xD30 | 1 | unsigned char | m_bInControl | +------------+----------+----------------------------------------+-------------------------------+ | 0xD31 | 1 | unsigned char | m_bClickedArea | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0xD34 | 4 | int | m_nCurrentSong | +------------+----------+----------------------------------------+-------------------------------+ | 0xD38 | 4 | unsigned long | m_nToolTip | +------------+----------+----------------------------------------+-------------------------------+ | 0xD3C | 32 | :ref:`CVidFont` | m_preLoadFontRealms | +------------+----------+----------------------------------------+-------------------------------+ | 0xD5C | 32 | :ref:`CVidFont` | m_preLoadFontTool | +------------+----------+----------------------------------------+-------------------------------+ | 0xD7C | 1 | unsigned char | m_nScrollState | +------------+----------+----------------------------------------+-------------------------------+ | 0xD7D | 8 | :ref:`CResRef` | m_rForceRandomEncounter | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0xD88 | 4 | :ref:`CString` | m_sForcedEncounterEntry | +------------+----------+----------------------------------------+-------------------------------+ | 0xD8C | 4 | int | m_bFontDropShadow | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CScriptCache: CScriptCache ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CScriptCache Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CAIScript`\*\* | m_scriptMap | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | m_nTableEntries | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSearchBitmap: CSearchBitmap ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSearchBitmap Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 176 | :ref:`CVidBitmap` | m_resSearch | +------------+----------+----------------------------------------+-------------------------------+ | 0xb0 | 4 | unsigned char\* | m_pDynamicCost | +------------+----------+----------------------------------------+-------------------------------+ | 0xb4 | 4 | unsigned char\* | m_snapshotDynamicCost | +------------+----------+----------------------------------------+-------------------------------+ | 0xb8 | 4 | const unsigned char\* | m_snapshotTerrainTable | +------------+----------+----------------------------------------+-------------------------------+ | 0xbc | 8 | :ref:`CSize` | m_GridSquareDimensions | +------------+----------+----------------------------------------+-------------------------------+ | 0xc4 | 4 | :ref:`CGameArea`\* | m_pArea | +------------+----------+----------------------------------------+-------------------------------+ | 0xc8 | 1 | unsigned char | m_sourceSide | +------------+----------+----------------------------------------+-------------------------------+ | 0xc9 | 1 | unsigned char | m_snapshotPersonalSpace | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSearchRequest: CSearchRequest ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 1 | unsigned char | m_serviceState | +------------+----------+----------------------------------------+-------------------------------+ | 0x01 | 1 | unsigned char | m_collisionDelay | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | int | m_collisionSearch | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 1 | unsigned char | m_sourceSide | +------------+----------+----------------------------------------+-------------------------------+ | 0x09 | 1 | unsigned char | m_nPartyIds | +------------+----------+----------------------------------------+-------------------------------+ | 0x0A | 1 | unsigned char | m_nTargetIds | +------------+----------+----------------------------------------+-------------------------------+ | 0x0B | 1 | unsigned char | m_nTargetPoints | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | int | m_removeSelf | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 1 | unsigned char | m_frontList | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | :ref:`CSearchBitmap`\* | m_searchBitmap | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 16 | unsigned char | m_terrainTable[16] | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | int | m_pathSmooth | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | int | m_exclusiveTargetPoints | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | long | m_sourceId | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 8 | ``POINT`` | m_sourcePt | +------------+----------+----------------------------------------+-------------------------------+ | 0x3C | 4 | long\* | m_partyIds | +------------+----------+----------------------------------------+-------------------------------+ | 0x40 | 4 | long\* | m_targetIds | +------------+----------+----------------------------------------+-------------------------------+ | 0x44 | 4 | ``POINT*`` | m_targetPoints | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 4 | long | m_minNodes | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 4 | long | m_maxNodes | +------------+----------+----------------------------------------+-------------------------------+ | 0x50 | 4 | long | m_minNodesBack | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 4 | long | m_maxNodesBack | +------------+----------+----------------------------------------+-------------------------------+ | 0x58 | 4 | int | m_bBump | +------------+----------+----------------------------------------+-------------------------------+ | 0x5C | 2 | short | m_searchRc | +------------+----------+----------------------------------------+-------------------------------+ | 0x5E | 2 | short | m_nPath | +------------+----------+----------------------------------------+-------------------------------+ | 0x60 | 4 | long\* | m_pPath | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSelectiveBonus: CSelectiveBonus ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 20 | :ref:`CAIObjectType` | m_type | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | long | m_bonus | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSelectiveBonusList: CSelectiveBonusList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CTypedPtrList` | m_cTypedPtrList | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSelectiveWeaponType: CSelectiveWeaponType ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------------------+-----------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------------+-----------+ | 0x00 | 4 | int | m_slot | +------------+----------+-----------------------------------------------------+-----------+ | 0x04 | 20 | :ref:`CAIObjectType` | m_type | +------------+----------+-----------------------------------------------------+-----------+ | 0x18 | 16 | :ref:`CWeaponIdentification` | m_weapon | +------------+----------+-----------------------------------------------------+-----------+ ---- .. _CSelectiveWeaponTypeList: CSelectiveWeaponTypeList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CTypedPtrList` | m_cTypedPtrList | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSequenceSound: CSequenceSound ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CResRef` | m_sound | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | long | m_offset | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSequenceSoundList: CSequenceSoundList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSequenceSoundList Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CTypedPtrList` | m_cTypedPtrList | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | __POSITION\* | m_currentSound | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | int | m_soundPlaying | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | long | m_channel | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSize: CSize ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Actually defined as `SIZE `_ but adapted/recreated as its own structure. +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | long | cx | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | cy | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSnowFlake: CSnowFlake ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 52 | :ref:`CParticle` | m_cParticle | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 1 | unsigned char | m_nDriftWidth | +------------+----------+----------------------------------------+-------------------------------+ | 0x35 | 1 | unsigned char | m_nDriftCounter | +------------+----------+----------------------------------------+-------------------------------+ | 0x36 | 2 | unsigned short | m_nMeltTime | +------------+----------+----------------------------------------+-------------------------------+ | 0x38 | 4 | long | m_nLastDriftVelocity | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSnowStorm: CSnowStorm ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CSnowFlake`\* | m_pSnowFlakes | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 2 | unsigned short | m_nCurrentDensity | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 16 | CRect | m_rOldWorldViewPort | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSound: CSound ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSound Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | :ref:`CSoundImp`\* | pimpl | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSoundChannel: CSoundChannel ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundChannel Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 28 | :ref:`CObList` | lQueue | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | long | m_nVolumeInit | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | long | nVolume | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | int | nType | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 1 | bool | bDucked | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | int | m_nDuckingAmount | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSoundExtensionBase: CSoundExtensionBase ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | m_nRange | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | m_dwFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | long | m_nPitchVariance | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | long | m_nVolumeVariance | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 240 | unsigned long | reservedSpace[60] | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSoundExtensionFile: CSoundExtensionFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundExtensionFile Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSoundImp: CSoundImp ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundImp Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | :ref:`CSound`\* | m_pParent | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | int | m_bPositionedSound | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | int | m_dwBufferSize | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | int | m_dwFrequency | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | int | m_nBufferFormat | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | int | m_nRange | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | int | m_nRangeVolume | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | int | m_nXCoordinate | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | int | m_nYCoordinate | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 4 | int | m_nZCoordinate | +------------+----------+----------------------------------------+-------------------------------+ | 0x38 | 4 | long | m_nPan | +------------+----------+----------------------------------------+-------------------------------+ | 0x3C | 4 | long | m_nVolume | +------------+----------+----------------------------------------+-------------------------------+ | 0x40 | 1 | bool | m_bSoundInitialized | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x44 | 4 | int | m_nChannel | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 4 | int | m_nPriority | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 4 | int | m_nLooping | +------------+----------+----------------------------------------+-------------------------------+ | 0x50 | 4 | long | m_nPitchVariance | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 4 | long | m_nVolumeVariance | +------------+----------+----------------------------------------+-------------------------------+ | 0x58 | 1 | bool | m_b3DPositionning | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x5C | 4 | unsigned int | m_nSource | +------------+----------+----------------------------------------+-------------------------------+ | 0x60 | 4 | unsigned int | m_nBuffer | +------------+----------+----------------------------------------+-------------------------------+ | 0x64 | 1 | bool | m_bFireForget | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 4 | unsigned int | m_nArea | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C | 4 | int | m_dwOverrideFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x70 | 1 | bool | m_bSoundIsntDucked | +------------+----------+----------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSoundMixer: CSoundMixer ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSoundMixer Class` +------------+----------+-----------------------------------------+-----------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------+-----------+ | 0x00 | 4 | :ref:`CSoundMixerImp`\* | pimpl | +------------+----------+-----------------------------------------+-----------+ ---- .. _CSoundMixerImp: CSoundMixerImp ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-------------------------------------------+-------------------------------+ | 0x00 | 4 | ALCcontext_struct\* | alContext | +------------+----------+-------------------------------------------+-------------------------------+ | 0x04 | 4 | ALCdevice_struct\* | alDevice | +------------+----------+-------------------------------------------+-------------------------------+ | 0x08 | 12 | float | pos[3] | +------------+----------+-------------------------------------------+-------------------------------+ | 0x14 | 4 | int | bMixerInitialized | +------------+----------+-------------------------------------------+-------------------------------+ | 0x18 | 4 | int | bStreamPlaying | +------------+----------+-------------------------------------------+-------------------------------+ | 0x1C | 4 | int | m_bMusicInitialized | +------------+----------+-------------------------------------------+-------------------------------+ | 0x20 | 4 | int | bInPositionUpdate | +------------+----------+-------------------------------------------+-------------------------------+ | 0x24 | 4 | int | bInSoundUpdate | +------------+----------+-------------------------------------------+-------------------------------+ | 0x28 | 4 | int | bInQueueUpdate | +------------+----------+-------------------------------------------+-------------------------------+ | 0x2C | 4 | int | bInLoopingUpdate | +------------+----------+-------------------------------------------+-------------------------------+ | 0x30 | 4 | unsigned long | m_dwEAXProperties | +------------+----------+-------------------------------------------+-------------------------------+ | 0x34 | 16 | :ref:`CSoundProperties` | m_soundProperties | +------------+----------+-------------------------------------------+-------------------------------+ | 0x44 | 4 | int | m_nNumSongs | +------------+----------+-------------------------------------------+-------------------------------+ | 0x48 | 4 | int | m_nLastSong | +------------+----------+-------------------------------------------+-------------------------------+ | 0x4C | 4 | int | m_nCurrentSong | +------------+----------+-------------------------------------------+-------------------------------+ | 0x50 | 4 | int | m_nQuietMusicVolume | +------------+----------+-------------------------------------------+-------------------------------+ | 0x54 | 4 | unsigned int | m_nActiveArea | +------------+----------+-------------------------------------------+-------------------------------+ | 0x58 | 4 | int | m_nDuckingOn | +------------+----------+-------------------------------------------+-------------------------------+ | 0x5C | 20 | :ref:`CDWordArray` | m_aMusicSlots | +------------+----------+-------------------------------------------+-------------------------------+ | 0x70 | 10001 | unsigned char | m_tSqrtTable[10001] | +------------+----------+-------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+-------------------------------------------+-------------------------------+ | 0x2784 | 4 | int | nMaxVoices | +------------+----------+-------------------------------------------+-------------------------------+ | 0x2788 | 28 | :ref:`CObList` | lVoices | +------------+----------+-------------------------------------------+-------------------------------+ | 0x27A4 | 28 | :ref:`CObList` | lWaiting | +------------+----------+-------------------------------------------+-------------------------------+ | 0x27C0 | 28 | :ref:`CObList` | lLooping | +------------+----------+-------------------------------------------+-------------------------------+ | 0x27DC | 20 | :ref:`CObArray` | aChannels | +------------+----------+-------------------------------------------+-------------------------------+ | 0x27F0 | 4 | int | nMaxChannels | +------------+----------+-------------------------------------------+-------------------------------+ | 0x27F4 | 4 | int | nGlobalVolume | +------------+----------+-------------------------------------------+-------------------------------+ | 0x27F8 | 4 | int | nPanRange | +------------+----------+-------------------------------------------+-------------------------------+ | 0x27FC | 4 | int | nXCoordinate | +------------+----------+-------------------------------------------+-------------------------------+ | 0x2800 | 4 | int | nYCoordinate | +------------+----------+-------------------------------------------+-------------------------------+ | 0x2804 | 4 | int | nZCoordinate | +------------+----------+-------------------------------------------+-------------------------------+ | 0x2808 | 28 | :ref:`CTypedPtrList` | m_lMusicPositions | +------------+----------+-------------------------------------------+-------------------------------+ ---- .. _CSoundProperties: CSoundProperties ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 16 | _EAXPRESET | m_iEAXpreset | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSparkle: CSparkle ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 71 | :ref:`CGameObject` | m_cGameObject | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 2 | short | m_nType | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 8 | :ref:`CPoint` | m_posExact | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 8 | :ref:`CPoint` | m_posDelta | +------------+----------+----------------------------------------+-------------------------------+ | 0x5C | 8 | :ref:`CPoint` | m_posDest | +------------+----------+----------------------------------------+-------------------------------+ | 0x64 | 1 | unsigned char | m_moveScale | +------------+----------+----------------------------------------+-------------------------------+ | 0x65 | 16 | unsigned char | m_terrainTable[16] | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | | +------------+----------+----------------------------------------+-------------------------------+ | 0x76 | 2 | short | m_nConjureDuration | +------------+----------+----------------------------------------+-------------------------------+ | 0x78 | 4 | long | m_nTimer | +------------+----------+----------------------------------------+-------------------------------+ | 0x7C | 4 | long | m_destId | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 4 | long | m_srcId | +------------+----------+----------------------------------------+-------------------------------+ | 0x84 | 4 | :ref:`CAIAction`\* | m_pTargetAction | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSparkleCluster: CSparkleCluster ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 71 | :ref:`CGameObject` | m_cGameObject | +------------+----------+----------------------------------------+-------------------------------+ | | 1 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 4 | :ref:`CVidMode`\* | m_pVidMode | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 28 | :ref:`CTypedPtrList` | m_particleList | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 4 | unsigned long | m_colorStart | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C | 4 | unsigned long | m_colorFade1 | +------------+----------+----------------------------------------+-------------------------------+ | 0x70 | 4 | unsigned long | m_colorFade2 | +------------+----------+----------------------------------------+-------------------------------+ | 0x74 | 4 | unsigned long | m_colorFade3 | +------------+----------+----------------------------------------+-------------------------------+ | 0x78 | 4 | unsigned long | m_colorFade4 | +------------+----------+----------------------------------------+-------------------------------+ | 0x7C | 1 | unsigned char | m_fade1Height | +------------+----------+----------------------------------------+-------------------------------+ | 0x7D | 1 | unsigned char | m_fade2Height | +------------+----------+----------------------------------------+-------------------------------+ | 0x7E | 1 | unsigned char | m_fade3Height | +------------+----------+----------------------------------------+-------------------------------+ | 0x7F | 1 | unsigned char | m_fade4Height | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 16 | :ref:`CRect` | m_rBounding | +------------+----------+----------------------------------------+-------------------------------+ | 0x90 | 2 | unsigned short | m_wType | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x94 | 4 | unsigned long | m_nTimer | +------------+----------+----------------------------------------+-------------------------------+ | 0x98 | 2 | unsigned short | m_nConjureDuration | +------------+----------+----------------------------------------+-------------------------------+ | | 2 | | ```` | +------------+----------+----------------------------------------+-------------------------------+ | 0x9C | 8 | :ref:`CPoint` | m_explosionDir | +------------+----------+----------------------------------------+-------------------------------+ | 0xA4 | 4 | int | m_nGravity | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpawn: CSpawn ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawn Class` +------------+----------+-------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-------------------------------------------+-------------------------------+ | 0x00 | 4 | vfptr | vfptr | +------------+----------+-------------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | Interval | +------------+----------+-------------------------------------------+-------------------------------+ | 0x08 | 4 | :ref:`CString` | SectionAlias | +------------+----------+-------------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned long | SpawnFlags | +------------+----------+-------------------------------------------+-------------------------------+ | 0x10 | 4 | int | DataIsValid | +------------+----------+-------------------------------------------+-------------------------------+ | 0x14 | 20 | :ref:`CAIObjectType` | mSearchAI | +------------+----------+-------------------------------------------+-------------------------------+ | 0x28 | 4 | int | mSearchQty | +------------+----------+-------------------------------------------+-------------------------------+ | 0x2C | 16 | int | mSearchRegion[4] | +------------+----------+-------------------------------------------+-------------------------------+ | 0x3C | 4 | :ref:`CSpawnVar`\* | mpSearchKeyVar | +------------+----------+-------------------------------------------+-------------------------------+ | 0x40 | 4 | :ref:`CSpawnVar`\* | mpSearchQtyVar | +------------+----------+-------------------------------------------+-------------------------------+ | 0x44 | 28 | :ref:`CStringList` | mCREFiles | +------------+----------+-------------------------------------------+-------------------------------+ | 0x60 | 4 | int | mCreateQty | +------------+----------+-------------------------------------------+-------------------------------+ | 0x64 | 4 | :ref:`CString`\* | mpCreateQtyScope | +------------+----------+-------------------------------------------+-------------------------------+ | 0x68 | 4 | :ref:`CString`\* | mpCreateQtyLabel | +------------+----------+-------------------------------------------+-------------------------------+ | 0x6C | 4 | :ref:`CString`\* | mpScriptName | +------------+----------+-------------------------------------------+-------------------------------+ | 0x70 | 1 | unsigned char | mEA | +------------+----------+-------------------------------------------+-------------------------------+ | 0x71 | 1 | unsigned char | mGeneral | +------------+----------+-------------------------------------------+-------------------------------+ | 0x72 | 1 | unsigned char | mRace | +------------+----------+-------------------------------------------+-------------------------------+ | 0x73 | 1 | unsigned char | mClass | +------------+----------+-------------------------------------------+-------------------------------+ | 0x74 | 1 | unsigned char | mGender | +------------+----------+-------------------------------------------+-------------------------------+ | 0x75 | 1 | unsigned char | mSpecifics | +------------+----------+-------------------------------------------+-------------------------------+ | 0x76 | 1 | unsigned char | mFaction | +------------+----------+-------------------------------------------+-------------------------------+ | 0x77 | 1 | unsigned char | mTeam | +------------+----------+-------------------------------------------+-------------------------------+ | 0x78 | 1 | unsigned char | mAlignment | +------------+----------+-------------------------------------------+-------------------------------+ | | 3 | | ```` | +------------+----------+-------------------------------------------+-------------------------------+ | 0x7C | 4 | :ref:`CString`\* | mpOverrideScript | +------------+----------+-------------------------------------------+-------------------------------+ | 0x80 | 4 | :ref:`CString`\* | mpClassScript | +------------+----------+-------------------------------------------+-------------------------------+ | 0x84 | 4 | :ref:`CString`\* | mpRaceScript | +------------+----------+-------------------------------------------+-------------------------------+ | 0x88 | 4 | :ref:`CString`\* | mpGeneralScript | +------------+----------+-------------------------------------------+-------------------------------+ | 0x8C | 4 | :ref:`CString`\* | mpDefaultScript | +------------+----------+-------------------------------------------+-------------------------------+ | 0x90 | 4 | :ref:`CString`\* | mpAreaScript | +------------+----------+-------------------------------------------+-------------------------------+ | 0x94 | 4 | :ref:`CString`\* | mpSpecificsScript | +------------+----------+-------------------------------------------+-------------------------------+ | 0x98 | 28 | :ref:`CStringList` | mDialogFiles | +------------+----------+-------------------------------------------+-------------------------------+ | 0xB4 | 4 | int | mDeathGoodModifier | +------------+----------+-------------------------------------------+-------------------------------+ | 0xB8 | 4 | int | mDeathLawModifier | +------------+----------+-------------------------------------------+-------------------------------+ | 0xBC | 4 | int | mDeathLadyModifier | +------------+----------+-------------------------------------------+-------------------------------+ | 0xC0 | 4 | int | mDeathMurderModifier | +------------+----------+-------------------------------------------+-------------------------------+ | 0xC4 | 4 | int | Facing | +------------+----------+-------------------------------------------+-------------------------------+ | 0xC8 | 24 | :ref:`CSpawnPointArray` | mSpawnPointArray | +------------+----------+-------------------------------------------+-------------------------------+ | 0xE0 | 16 | :ref:`CSpawnPoint` | mSpelectedPoint | +------------+----------+-------------------------------------------+-------------------------------+ | 0xF0 | 4 | CSpawn::ePMode | mPointSelectMode | +------------+----------+-------------------------------------------+-------------------------------+ | 0xF4 | 4 | :ref:`CString`\* | pPointIndexScope | +------------+----------+-------------------------------------------+-------------------------------+ | 0xF8 | 4 | :ref:`CString`\* | pPointIndexLabel | +------------+----------+-------------------------------------------+-------------------------------+ | 0xFC | 4 | :ref:`CSpawnPointVar`\* | mpExplicitSpawnPoint | +------------+----------+-------------------------------------------+-------------------------------+ | 0x100 | 4 | :ref:`CString`\* | pExplicitSpawnFacingScope | +------------+----------+-------------------------------------------+-------------------------------+ | 0x104 | 4 | :ref:`CString`\* | pExplicitSpawnFacingLabel | +------------+----------+-------------------------------------------+-------------------------------+ | 0x108 | 4 | :ref:`CSpawnPointVar`\* | mpSpawnPointStorage | +------------+----------+-------------------------------------------+-------------------------------+ | 0x10C | 4 | :ref:`CString`\* | pSpawnFacingStorageScope | +------------+----------+-------------------------------------------+-------------------------------+ | 0x110 | 4 | :ref:`CString`\* | pSpawnFacingStorageLabel | +------------+----------+-------------------------------------------+-------------------------------+ | 0x114 | 4 | int | mSequentialStartValue | +------------+----------+-------------------------------------------+-------------------------------+ | 0x118 | 4 | unsigned long | mTimeOfDay | +------------+----------+-------------------------------------------+-------------------------------+ ---- .. _CSpawnFile: CSpawnFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawnFile Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CTypedPtrList` | m_cTypedPtrList | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | :ref:`CSpawnList`\* | mpExitList | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | :ref:`CSpawnList`\* | mpEnterList | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | int | m_bInSpawn | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpawnList: CSpawnList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawnList Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 28 | :ref:`CTypedPtrList` | m_cTypedPtrList | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 4 | :ref:`CString` | mSectionAlias | +------------+----------+----------------------------------------+-------------------------------+ | 0x20 | 4 | int | ReceivedFirstSpawnCall | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | unsigned long | LastSpawnTime | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | int | CheckSpawnTimes | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | unsigned long | SpawnTimeOfDay | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | unsigned int | mInterval | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 4 | :ref:`CSpawnVar`\* | pControlVar | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpawnPoint: CSpawnPoint ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpawnPoint Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | vfptr | vfptr | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 8 | :ref:`CPoint` | mLocation | +------------+----------+----------------------------------------+-------------------------------+ | 0x0c | 4 | int | mFacing | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpawnPointArray: CSpawnPointArray ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 20 | :ref:`CTypedPtrArray` | m_cTypedPtrArray | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | int | mDefaultFacing | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpawnPointVar: CSpawnPointVar ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CSpawnVar` | m_cSpawnVar | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpawnVar: CSpawnVar ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | :ref:`CString` | mScope | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | :ref:`CString` | mLabel | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpell: CSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CSpell Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSpellLevelDecrementing: CSpellLevelDecrementing ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | int | m_bImmune | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | long | m_nLevels | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSteam: CSteam ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Only applies to Steam builds, which are built with Steamworks integrations Used by the :ref:`CSteam Class` +------------+----------+---------------------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x00 | 1 | bool | m_isSteamConnected | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x01 | 8 | :ref:`CSteamID` | m_SteamID | +------------+----------+---------------------------------------------------------+-------------------------------+ | | 7 | | ```` | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x10 | 32 | :ref:`CCallResult` | m_CreateItemCompleted | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x30 | 32 | :ref:`CCallResult` | m_PublishedQueryCompleted | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x50 | 32 | :ref:`CCallResult` | m_SubmitItemUpdateCompleted | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x70 | 4 | int | m_RemainingPublished | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x74 | 4 | int | m_CurPagePublished | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x78 | 4 | :ref:`CString` | m_PublishingName | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x7C | 4 | :ref:`CString` | m_PublishingDir | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x80 | 4 | int | m_CloudState | +------------+----------+---------------------------------------------------------+-------------------------------+ | | 4 | | ```` | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x88 | 32 | :ref:`CCallResult` | m_RequestUGCDetailsCompleted | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0xA8 | 136 | :ref:`CSteam::SubscribedItems` | m_Subscribed | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x130 | 8 | unsigned __int64 | m_nUploadId | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x138 | 4 | ISteamRemoteStorage\* | m_RemoteStorage | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x13C | 4 | ISteamUGC\* | m_UGC | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x140 | 4 | ISteamUserStats\* | m_UserStats | +------------+----------+---------------------------------------------------------+-------------------------------+ | 0x144 | 4 | void | (__cdecl * logger) | +------------+----------+---------------------------------------------------------+-------------------------------+ ---- .. _CSteamIDSubscribedItems: CSteam::SubscribedItems ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Only applies to Steam builds, which are built with Steamworks integrations +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 128 | unsigned __int64 | vecPublished[16] | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 4 | int | curSubscribed | +------------+----------+----------------------------------------+-------------------------------+ | 0x84 | 4 | int | numSubscribed | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CSteamID: CSteamID ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Only applies to Steam builds, which are built with Steamworks integrations +------------+----------+--------------------------------------------+-----------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+--------------------------------------------+-----------+ | 0x00 | 8 | :ref:`CSteamID::SteamID_t`| m_steamid | +------------+----------+--------------------------------------------+-----------+ ---- .. _CSteamIDSteamID: CSteamID::SteamID_t (CSteamIDSteamID) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Only applies to Steam builds, which are built with Steamworks integrations +------------+----------+--------------------------------------------------------------------------------+---------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+--------------------------------------------------------------------------------+---------------+ | 0x00 | 8 | :ref:`CSteamID::SteamID_t::SteamIDComponent_t`| m_comp | +------------+----------+--------------------------------------------------------------------------------+---------------+ | 0x00 | 8 | unsigned __int64 | m_unAll64Bits | +------------+----------+--------------------------------------------------------------------------------+---------------+ ---- .. _CSteamIDSteamIDSteamIDComponent: CSteamID::SteamID_t::SteamIDComponent_t (CSteamIDSteamIDSteamIDComponent) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. note:: Only applies to Steam builds, which are built with Steamworks integrations +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned int | m_unAccountID : 32 | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | m_unAccountInstance : 20 | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned int | m_EAccountType : 4 | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | EUniverse | m_EUniverse : 8 | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CStore: CStore ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CStore Class` +------------+----------+---------------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+---------------------------------------------+-------------------------------+ | 0x00 | 8 | :ref:`CResRef` | m_resRef | +------------+----------+---------------------------------------------+-------------------------------+ | 0x08 | 148 | :ref:`CStoreFileHeader` | m_header | +------------+----------+---------------------------------------------+-------------------------------+ | 0x9C | 28 | :ref:`CTypedPtrList` | m_lInventory | +------------+----------+---------------------------------------------+-------------------------------+ | 0xB8 | 4 | unsigned long\* | m_pBuyTypes | +------------+----------+---------------------------------------------+-------------------------------+ | 0xBC | 4 | unsigned long | m_nBuyTypes | +------------+----------+---------------------------------------------+-------------------------------+ | 0xC0 | 4 | :ref:`CStoreFileDrinks`\* | m_pDrinks | +------------+----------+---------------------------------------------+-------------------------------+ | 0xC4 | 4 | unsigned long | m_nDrinks | +------------+----------+---------------------------------------------+-------------------------------+ | 0xC8 | 4 | :ref:`CStoreFileSpell`\* | m_pSpells | +------------+----------+---------------------------------------------+-------------------------------+ | 0xCC | 4 | unsigned long | m_nSpells | +------------+----------+---------------------------------------------+-------------------------------+ | 0xD0 | 8 | unsigned char | m_pVersion[8] | +------------+----------+---------------------------------------------+-------------------------------+ | 0xD8 | 4 | int | m_bLocalCopy | +------------+----------+---------------------------------------------+-------------------------------+ ---- .. _CStoreFile: CStoreFile ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 12 | :ref:`CResHelper` | m_cResHelper | +------------+----------+----------------------------------------+-------------------------------+ ---- .. _CStoreFileDrinks: CStoreFileDrinks ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | unsigned char | m_icon[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned long | m_strName | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned long | m_nCost | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | m_nRumorChance | +------------+----------+----------------------------------------+-------------------------------+ **Notes** Related to `STOR V1.0 Drinks for Sale `_ ---- .. _CStoreFileHeader: CStoreFileHeader ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | unsigned long | m_nStoreType | +------------+----------+----------------------------------------+-------------------------------+ | 0x04 | 4 | unsigned long | m_strName | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned long | m_nStoreFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x0C | 4 | unsigned long | m_nBuyMarkUp | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | m_nSellMarkDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | unsigned long | m_nAdditionalMarkDown | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 2 | unsigned short | m_nStealDifficulty | +------------+----------+----------------------------------------+-------------------------------+ | 0x1A | 2 | unsigned short | m_nMaxItems | +------------+----------+----------------------------------------+-------------------------------+ | 0x1C | 8 | unsigned char | m_script[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x24 | 4 | unsigned long | m_nbuyTypesOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x28 | 4 | unsigned long | m_nbuyTypesCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x2C | 4 | unsigned long | m_nInventoryOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x30 | 4 | unsigned long | m_nInventoryCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x34 | 4 | unsigned long | m_nLore | +------------+----------+----------------------------------------+-------------------------------+ | 0x38 | 4 | unsigned long | m_nIdentifyCost | +------------+----------+----------------------------------------+-------------------------------+ | 0x3C | 8 | unsigned char | m_resRumor[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x44 | 4 | unsigned long | m_drinkOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x48 | 4 | unsigned long | m_drinkCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x4C | 8 | unsigned char | m_resDonation[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x54 | 4 | unsigned long | m_nInnFlags | +------------+----------+----------------------------------------+-------------------------------+ | 0x58 | 4 | unsigned long | m_nRoomCostPeasant | +------------+----------+----------------------------------------+-------------------------------+ | 0x5C | 4 | unsigned long | m_nRoomCostMerchant | +------------+----------+----------------------------------------+-------------------------------+ | 0x60 | 4 | unsigned long | m_nRoomCostNoble | +------------+----------+----------------------------------------+-------------------------------+ | 0x64 | 4 | unsigned long | m_nRoomCostRoyal | +------------+----------+----------------------------------------+-------------------------------+ | 0x68 | 4 | unsigned long | m_spellOffset | +------------+----------+----------------------------------------+-------------------------------+ | 0x6C | 4 | unsigned long | m_spellCount | +------------+----------+----------------------------------------+-------------------------------+ | 0x70 | 4 | unsigned long | m_rouletMaxBet | +------------+----------+----------------------------------------+-------------------------------+ | 0x74 | 4 | unsigned long | m_crapsMaxBet | +------------+----------+----------------------------------------+-------------------------------+ | 0x78 | 4 | unsigned long | m_wheelMaxBet | +------------+----------+----------------------------------------+-------------------------------+ | 0x7C | 4 | unsigned long | m_rouletWinChance | +------------+----------+----------------------------------------+-------------------------------+ | 0x80 | 4 | unsigned long | m_crapsWinChance | +------------+----------+----------------------------------------+-------------------------------+ | 0x84 | 4 | unsigned long | m_wheelWinChance | +------------+----------+----------------------------------------+-------------------------------+ | 0x88 | 4 | unsigned long | m_rouletWinAmount | +------------+----------+----------------------------------------+-------------------------------+ | 0x8C | 4 | unsigned long | m_crapsWinAmount | +------------+----------+----------------------------------------+-------------------------------+ | 0x90 | 4 | unsigned long | m_wheelWinAmount | +------------+----------+----------------------------------------+-------------------------------+ **Notes** Related to `STOR V1.0 Header `_ ---- .. _CStoreFileItem: CStoreFileItem ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | unsigned char | m_itemId[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 2 | unsigned short | m_wear | +------------+----------+----------------------------------------+-------------------------------+ | 0x0A | 6 | unsigned short | m_usageCount[3] | +------------+----------+----------------------------------------+-------------------------------+ | 0x10 | 4 | unsigned long | m_dynamicFlag | +------------+----------+----------------------------------------+-------------------------------+ | 0x14 | 4 | unsigned long | m_nInStock | +------------+----------+----------------------------------------+-------------------------------+ | 0x18 | 4 | unsigned long | m_nStoreFlags | +------------+----------+----------------------------------------+-------------------------------+ **Notes** Related to `STOR V1.0 Items for Sale `_ ---- .. _CStoreFileSpell: CStoreFileSpell ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 8 | unsigned char | m_spell[8] | +------------+----------+----------------------------------------+-------------------------------+ | 0x08 | 4 | unsigned long | m_cost | +------------+----------+----------------------------------------+-------------------------------+ **Notes** Related to `STOR V1.0 Cures for Sale `_ ---- .. _CString: CString ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CString Class` +------------+----------+----------------------------------------+-------------------------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+----------------------------------------+-------------------------------+ | 0x00 | 4 | char\* | m_pchData | +------------+----------+----------------------------------------+-------------------------------+ C Definition :: typedef struct tagCString { DWORD m_pchData; } CString; // size 0x4 ---- .. _CStringData: CStringData ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-------------+--------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-------------+--------------+ | 0x00 | 4 | long | nRefs | +------------+----------+-------------+--------------+ | 0x04 | 4 | int | nDataLength | +------------+----------+-------------+--------------+ | 0x08 | 4 | int | nAllocLength | +------------+----------+-------------+--------------+ ---- .. _CStringList: CStringList ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Used by the :ref:`CStringList Class` +------------+----------+-----------------------------------------------+--------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------+--------------+ | 0x00 | 4 | :ref:`CObject` | m_cObject | +------------+----------+-----------------------------------------------+--------------+ | 0x04 | 4 | :ref:`CStringList::CNode`\* | m_pNodeHead | +------------+----------+-----------------------------------------------+--------------+ | 0x08 | 4 | :ref:`CStringList::CNode`\* | m_pNodeTail | +------------+----------+-----------------------------------------------+--------------+ | 0x0C | 4 | int | m_nCount | +------------+----------+-----------------------------------------------+--------------+ | 0x10 | 4 | :ref:`CStringList::CNode`\* | m_pNodeFree | +------------+----------+-----------------------------------------------+--------------+ | 0x14 | 4 | :ref:`CPlex`\* | m_pBlocks | +------------+----------+-----------------------------------------------+--------------+ | 0x18 | 4 | int | m_nBlockSize | +------------+----------+-----------------------------------------------+--------------+ ---- .. _CStringListCNode: CStringList::CNode ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +------------+----------+-----------------------------------------------+--------------+ | **Offset** | **Size** | **Type** | **Field** | +------------+----------+-----------------------------------------------+--------------+ | 0x00 | 4 | :ref:`CStringList::CNode`\* | pNext | +------------+----------+-----------------------------------------------+--------------+ | 0x04 | 4 | :ref:`CStringList::CNode`\* | pPrev | +------------+----------+-----------------------------------------------+--------------+ | 0x08 | 4 | :ref:`CString::CNode` | data | +------------+----------+-----------------------------------------------+--------------+